package wili.attrMapping.mappingRule_;

/**
 * 
 * @author weila 2022年11月7日
 */
class Control {
	@Anno(table = "tableA") //table = "asdf"
	public String tig(Tiger tig) {
		String ret = tig.get("age");
		ret += tig.get("favorite2");
		return ret;
	}

	@Anno(table = "tableB", maping = "/cat/abc")
	public String cat(Cat cat) {
		String ret = cat.get("age");
		ret += cat.get("favorite2");
		return ret;
	}

	@Anno(table = "tableA", maping = "/cat/tomato")
	public String tomato(Cat cat) {
		String ret = cat.get("age");
		ret += cat.get("favorite2");
		return ret;
	}
}
